# Contributor: 7heo <7heo@mail.com>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=homebank
pkgver=5.8.5
pkgrel=0
pkgdesc="Free personal finance software, money management"
url="http://homebank.free.fr"
arch="all"
license="GPL-2.0-or-later"
makedepends="gtk+3.0-dev libsoup3-dev libofx-dev intltool"
options="!check" # no test suite
subpackages="$pkgname-lang"
source="https://www.gethomebank.org/public/sources/homebank-$pkgver.tar.gz"

build() {
	./configure \
		--host=$CHOST \
		--build=$CBUILD \
		--prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
a58cd73f7f20388fd7821c18a53e240a7efc0253a2f38f57085b747aef1fe605e4ea8b3555b265b42223967d8014ae78512cbf5b1b83867e1c520e36b16d5236  homebank-5.8.5.tar.gz
"
